# Maintainer:Milan P. Stanić <mps@arvanta.net>

pkgname=asahi-scripts
pkgver=20230821
pkgrel=0
pkgdesc='Asahi Linux maintenance scripts'
arch='aarch64'
url='http://asahilinux.org'
license='MIT'
source="${pkgname}-${pkgver}.tar.gz::https://github.com/AsahiLinux/${pkgname}/archive/refs/tags/${pkgver}.tar.gz"
#install=asahi-scripts.install

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make PREFIX=/usr DESTDIR=${pkgdir} all
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make PREFIX=/usr DESTDIR=${pkgdir} install

  install -Dm644 "$srcdir/${pkgname}-${pkgver}/LICENSE" \
    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
sha512sums="
90e25f476f6b128742650c4809537ae45666071e611ea47484c1c1e05ac6681ae8e0bf7b6d26ea95ccc292666c8810c0c377a416b31e7d6b22e437fbc1ef23a3  asahi-scripts-20230821.tar.gz
"
